package com.crm.dashboard.service.impl;

import com.crm.custinfo.mapper.CustInfoMapper;
import com.crm.dashboard.service.IIndexDashboardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class IndexDashboardServiceImpl implements IIndexDashboardService {

    @Autowired
    private CustInfoMapper custInfoMapper;
    /**
     * 获取业务员的客户状态分钟
     *
     * @param params 获取数据的集合
     * @return 结果
     */
    @Override
    public List<Map<String, Object>> groupByCustStatus(Map<String, Object> params) {
        return custInfoMapper.groupByCustStatus(params);
    }
}
